

package com.central.modules.sys.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 用户管理
 *
 
 */
@Data
public class SysUserDTO implements Serializable {
    private static final long serialVersionUID = 1L;



	private Long id;



	private String username;


	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private String password;



	private String realName;


	private String headUrl;

	//"性别   0：男   1：女    2：保密", required = true)

	private Integer gender;


	//"手机号")
	private String mobile;


	//"状态  0：停用    1：正常", required = true)

	private Integer status;

	//"创建时间")
	@JsonProperty(access = JsonProperty.Access.READ_ONLY)
	private Date createDate;

	//"超级管理员   0：否   1：是")
	@JsonProperty(access = JsonProperty.Access.READ_ONLY)
	private Integer superAdmin;

	@JsonProperty(access = JsonProperty.Access.READ_ONLY)
	private List<SysRolePageVo> roles=new ArrayList<>();



}